/************************************************************
* author: alexander.aivars <alexander.aivars&#64;svt.se>
* $Date:2007-12-19 11:39:12 +0100 (Wed, 19 Dec 2007) $
* $Revision:196 $
* $HeadURL:svn://stoiis03.internt.svt.se/SVTiFLASH/trunk/SVTSE/Source/Classes/se/svt/web/models/TipsaKompisData.as $
* $Id:TipsaKompisData.as 196 2007-12-19 10:39:12Z alai $
************************************************************/
package se.svt.web.models
{
	import flash.events.IEventDispatcher;
	
	import se.svt.web.models.NetData;

	public class TipsaKompisData extends NetData
	{
		
		private var _toname:String;	
		private var _toemail:String;	
		private var _fromname:String;	
		private var _fromemail:String;	
		private var _urlinmail:String;	
		private var _param0:String;	
		private var _param1:String;	
		private var _param2:String;	
		private var _param3:String;	
		private var _param4:String;	
 	 
		public function TipsaKompisData(target:IEventDispatcher=null)
		{
			super(target);
		}
		
		public function set toname(value:String):void {
			_toname = value;
			setVariables(_toname,_toemail,_fromname,_fromemail,_urlinmail,_param0,_param1,_param2,_param3,_param4);
		}

		public function set toemail(value:String):void {
			_toemail = value;
			setVariables(_toname,_toemail,_fromname,_fromemail,_urlinmail,_param0,_param1,_param2,_param3,_param4);
		}

		public function set fromname(value:String):void {
			_fromname = value;
			setVariables(_toname,_toemail,_fromname,_fromemail,_urlinmail,_param0,_param1,_param2,_param3,_param4);
		}

		public function set fromemail(value:String):void {
			_fromemail = value;
			setVariables(_toname,_toemail,_fromname,_fromemail,_urlinmail,_param0,_param1,_param2,_param3,_param4);
		}

		public function set urlinmail(value:String):void {
			_urlinmail = value;
			setVariables(_toname,_toemail,_fromname,_fromemail,_urlinmail,_param0,_param1,_param2,_param3,_param4);
		}

		public function set param0(value:String):void {
			_param0 = value;
			setVariables(_toname,_toemail,_fromname,_fromemail,_urlinmail,_param0,_param1,_param2,_param3,_param4);
		}

		public function set param1(value:String):void {
			_param1 = value;
			setVariables(_toname,_toemail,_fromname,_fromemail,_urlinmail,_param0,_param1,_param2,_param3,_param4);
		}

		public function set param2(value:String):void {
			_param2 = value;
			setVariables(_toname,_toemail,_fromname,_fromemail,_urlinmail,_param0,_param1,_param2,_param3,_param4);
		}

		public function set param3(value:String):void {
			_param3 = value;
			setVariables(_toname,_toemail,_fromname,_fromemail,_urlinmail,_param0,_param1,_param2,_param3,_param4);
		}
		
		public function set param4(value:String):void {
			_param4 = value;
			setVariables(_toname,_toemail,_fromname,_fromemail,_urlinmail,_param0,_param1,_param2,_param3,_param4);
		}
		
		public function get toname():String { return _toname; }		
		public function get toemail():String { return _toemail; }		
		public function get fromname():String { return _fromname; }		
		public function get fromemail():String { return _fromemail; }		
		public function get urlinmail():String { return _urlinmail; }		
		public function get param0():String { return _param0; }		
		public function get param1():String { return _param1; }		
		public function get param2():String { return _param2; }		
		public function get param3():String { return _param3; }		
		public function get param4():String { return _param4; }
				
		public function setVariables(toname:String=null,
	 								 toemail:String=null,
	 								 fromname:String=null,
	 								 fromemail:String=null,
	 								 urlinmail:String=null,
	 								 param0:String=null,
	 								 param1:String=null,
	 								 param2:String=null,
	 								 param3:String=null,
	 								 param4:String=null):void
	 								 {
			_toname = toname;
			_toemail = toemail;
			_fromname = fromname;
			_fromemail = fromemail;
			_urlinmail = urlinmail;
			_param0 = param0;
			_param1 = param1;
			_param2 = param2;
			_param3 = param3;
			_param4 = param4;

			super.update();
	 	}
		
	}
}